package mylab.io.base;

import mylab.io.base.fsm.DasStatus;
import mylab.io.base.model.Msg;
import mylab.io.base.model.Terminal;

public interface DasEventCallback<M extends Msg> {

    void onDasStatusChanged(DasStatus status);

    void onTerminalConnectionChanged(Terminal terminal, boolean isConnected);

    void onReceived(M msg);

    void onException(Throwable throwable);
}
